﻿// // ******************************************************************
// //       /\ /|       @file       ResponseModel.cs
// //       \ V/        @brief      await29
// //       | "")       @author     Await, 285283010@qq.com
// //       /  |
// //      /  \\        @Modified   2024-11-03 16:11
// //    *(__\_\        @Copyright  Copyright (c) , 2024-11-03 11:11 Await
// // ******************************************************************

namespace AutomaticSubtitles.Service.Infrastructure.Extensions.Model;

public class ResponseModel<T>(int code, T data, string msg)
{
    public ResponseModel(int code, string msg) : this(code, default, msg)
    {
    }

    public T      data { get; set; } = data;
    public string msg  { get; set; } = msg;
    public int    code { get; set; } = code;
}